Error opening baseline of a module

Hello,

I want to execute the following code:

ModName_ replModRef = module("/NDS/20 System/RS-System Requirements Specification")
Baseline replBaseline = baseline(0,2,"")
 
Module replModVersion = load(moduleVersion(replModRef, replBaseline), false)
 
print identifier(first(replModVersion)) "\n"


(open invisible baseline "0.2" of module "RS-System Requirements Specification")

The execution causes an error popup and the following messages:

 

-R-E- DXL: <Line:3> null Module parameter was passed into argument position 1
-I- DXL: execution halted
RS-33



The desired baseline is open (Tools->Manage open modules) and the printing of the identifier of the first object works as well.
When I open the module in the current version before, there is now error message.

What is the reason for the error message?

Thank you for your help



 


Bjoern_Karpenstein - Fri Sep 28 07:57:37 EDT 2012

Re: Error opening baseline of a module
Peter_Albert - Fri Sep 28 08:51:56 EDT 2012

Should work. Probably a typo in the Module name? What does a

print "\n" (null replModRef) ""

give you?

Regards,

Peter

Re: Error opening baseline of a module
llandale - Fri Sep 28 15:27:15 EDT 2012

Your code works for me (changing module and baseline info), so I presume that the module does not in fact have that baseline. Perhaps it has a baseline "0.2" but with some suffix; "0.2 ( )".

-Louie